<nz-modal [(nzVisible)]="Visible" [nzWidth]="operaWidth" [nzTitle]="popTitle" (nzOnCancel)="Cancel()" (nzOnOk)="Ok()">
    <div *ngIf="operaType === 'add' || operaType === 'edit'">
        <nz-descriptions nzBordered nzSize="small">
            <nz-descriptions-item nzTitle="线别 *" [nzSpan]="3">
                <nz-select class="wd" [compareWith]="compareFn" (ngModelChange)="lbChange($event)" nzAllowClear
                    nzPlaceHolder="请选择线别" [(ngModel)]="operaData.line">
                    <nz-option *ngFor="let item of xbSelect" [nzValue]="item" [nzLabel]="item.name"></nz-option>
                </nz-select>
            </nz-descriptions-item>
            <nz-descriptions-item nzTitle="车站 *" [nzSpan]="3">
                <nz-select class="wd" [compareWith]="compareFn" nzAllowClear nzPlaceHolder="请选择车站"
                    [(ngModel)]="operaData.stationId">
                    <nz-option *ngFor="let item of czSelect" [nzValue]="item" [nzLabel]="item.name"></nz-option>
                </nz-select>
            </nz-descriptions-item>
            <nz-descriptions-item nzTitle="图册名称 *" [nzSpan]="3">
                <nz-select class="wd" nzAllowClear nzPlaceHolder="请选择图册名称" [(ngModel)]="operaData.albumId">
                    <nz-option *ngFor="let item of cadData.tcmcSelect" [nzValue]="item.value" [nzLabel]="item.label">
                    </nz-option>
                </nz-select>
            </nz-descriptions-item>
            <nz-descriptions-item nzTitle="图纸名称 *" [nzSpan]="3">
                <nz-select class="wd" nzAllowClear nzPlaceHolder="请选择图册名称" [(ngModel)]="operaData.dwgId">
                    <nz-option *ngFor="let item of cadData.tzmcSelect" [nzValue]="item.value" [nzLabel]="item.label">
                    </nz-option>
                </nz-select>
            </nz-descriptions-item>
            <nz-descriptions-item nzTitle="上传图纸 *" [nzSpan]="3">
                <nz-upload [nzAction]="uploadUrl" [nzCustomRequest]="customReq" [nzMultiple]="true" [nzFileList]="fileList"
                    (nzChange)="handleChange($event)">
                    <button nz-button><i nz-icon nzType="upload"></i>上传文件</button>
                </nz-upload>
            </nz-descriptions-item>
            <nz-descriptions-item nzTitle="备注" [nzSpan]="3">
                <textarea class="wd" nz-input placeholder="请输入备注" [(ngModel)]="operaData.remark"
                    [nzAutosize]="{ minRows: 2, maxRows: 2 }"></textarea>
            </nz-descriptions-item>
        </nz-descriptions>
    </div>
    <div *ngIf="operaType === 'del'">
        确定要{{operaText}}这 <span style="font-weight:bold;color:#ff0000">{{delData.count}}</span> 条数据吗？
    </div>
</nz-modal>